import request from "@/utils/request";

export function getClassify(data) {
    return request({
        url: "/web/anon/classify/store/list",
        method: "GET",
        data,
    });
}

export function getNotice() {
    return request({ url: "/web/anon/bulletin/getNewest", method: "GET" });
}

export function getStores(data) {
    return request({ url: "/web/anon/store/list", method: "GET", data });
}
export function getBrand(data) {
    return request({
        url: "/web/anon/brand/getPositionBrand",
        method: "GET",
        data,
    });
}

export function getBrands(data) {
    return request({
        url: "/web/anon/classify/brand/list",
        method: "GET",
        data,
    });
}

export function getArticles() {
    return request({ url: "/api/common/article/list", method: "GET" });
}
export function getArticle(data) {
    return request({ url: "/api/common/article/detail", method: "GET", data });
}
